package com.lianniu.web.product.service.impl;

import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSON;
import com.lianniu.web.base.BaseResult;
import com.lianniu.web.constants.ErrorCode;
import com.lianniu.web.product.dao.IProductSpecValueDao;
import com.lianniu.web.product.model.ProductSpecValueVo;
import com.lianniu.web.product.service.IProductSpecValueService;
import com.lianniu.web.util.StringUtil;
@Service
public class ProductSpecValueServiceImpl implements IProductSpecValueService {
	
	private final static Logger logger = Logger.getLogger(ProductSpecValueServiceImpl.class);
	
	 @Autowired
	IProductSpecValueDao psvDao;
	@Override
	public BaseResult selectById(String specId) {
		logger.info("selectById begin");
		logger.info("selectById specId" +specId);
		return BaseResult.success(psvDao.selectById(specId));
	}
}
